﻿<?xml version="1.0" encoding="utf-8"?>
<!--http://blogs.msdn.com/b/tsmatsuz/archive/2013/02/21/ui-custom-actoin-and-ribbon-customize-using-apps-for-sharepoint-2013.aspx-->
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <CustomAction Id="7b6d4ac0-6f2c-463d-8d9e-c282fb494645.RibbonCustomAction1"
    RegistrationType="List"
    RegistrationId="101"
    Location="CommandUI.Ribbon"
    Sequence="10001"
    Title="&apos;RibbonCustomAction1&apos; 動作の呼び出し">
    <CommandUIExtension>
      <CommandUIDefinitions>
        <CommandUIDefinition Location="Ribbon.Documents.Manage.Controls._children">
          <Button Id="Ribbon.Documents.Manage.RibbonCustomAction1Button"
            Alt="Apps Test Button"
            Sequence="100"
            Command="Invoke_RibbonCustomAction1ButtonRequest"
            LabelText="Apps Test Button"
            TemplateAlias="o1"
            Image32by32="_layouts/15/images/placeholder32x32.png"
            Image16by16="_layouts/15/images/placeholder16x16.png" />
        </CommandUIDefinition>
      </CommandUIDefinitions>
      <CommandUIHandlers>
        <CommandUIHandler Command="Invoke_RibbonCustomAction1ButtonRequest"
          CommandAction="~remoteAppUrl/Pages/Default.aspx?{StandardTokens}"/>
      </CommandUIHandlers>
    </CommandUIExtension >
  </CustomAction>
</Elements>
